<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html;" charset="<?php echo CHARSET;?>">
<title>本地生活</title>
<link href="/Public/admin/css/skin_0.css" rel="stylesheet" type="text/css" id="cssfile"/>
<script type="text/javascript" src="/Public/static/jquery.js"></script>
<script type="text/javascript" src="/Public/static/jquery.validation.min.js"></script>
<script type="text/javascript" src="/Public/admin/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/Public/admin/js/admincp.js"></script>
<script type="text/javascript" src="/Public/admin/js/jquery.tooltip.js"></script>
<script language="javascript">
var SiteUrl = '<?php echo (C("SiteUrl")); ?>';
var AdminUrl = SiteUrl+'/<?php echo (MODULE_NAME); ?>';
</script>
</head><body>
<div class="page">
  <div class="fixed-bar">
    <div class="item-title">
      <h3>公众号管理</h3>
      <ul class="tab-base">
        <li><a href="javascript:void(0);" class="current"><span>公众号</span></a></li>

      </ul>
    </div>
  </div>
  <div class="fixed-empty"></div>
  
  <table class="table tb-type2" id="prompt">
    <tbody>
      <tr class="space odd">
        <th colspan="12" class="nobg"><div class="title"><h5>操作提示</h5><span class="arrow"></span></div></th>
      </tr>
      <tr>
        <td>
			<ul>
				<li>请填写通过认证的微信公众号信息</li>
			</ul>
		</td>
      </tr>
    </tbody>
  </table>
  <form method="post" name="form_index">
    <input name="wx_id" value="<?php echo ($vo["wx_id"]); ?>" type="hidden"/>
    <table class="table tb-type2">
      <tbody>
        <tr class="noborder">
          <td class="w96">公众号名称</td><td><input id="wx_gzh_name" name="wx_gzh_name" value="<?php echo ($vo["wx_gzh_name"]); ?>" class="w300" type="text"/></td>
        </tr>
        <tr class="noborder">
          <td class="w96">APPID</td><td><input id="wx_appid" name="wx_appid" value="<?php echo ($vo["wx_appid"]); ?>" class="w300" type="text" maxlength="200" /></td>
        </tr>
         <tr class="noborder">
          <td class="w96">SECRET</td><td><input id="wx_secret" name="wx_secret" value="<?php echo ($vo["wx_secret"]); ?>" class="w300" type="text" maxlength="200" /></td>
        </tr>
        <tr class="noborder">
          <td class="w96">TOKEN</td><td><input id="wx_token" name="wx_token" value="<?php echo ($vo["wx_token"]); ?>" class="w300" type="text" maxlength="200" /></td>
        </tr>
        <tr class="noborder">
          <td class="w96">商户号</td><td><input id="wx_mch_id" name="wx_mch_id" value="<?php echo ($vo["wx_mch_id"]); ?>" class="w300" type="text" maxlength="200" /></td>
        </tr> 
        <tr class="noborder">
          <td class="w96">API调用地址</td><td><textarea name="wx_api_url" rows="6" class="w300" id="wx_api_url" ><?php echo ($vo['wx_api_url']); ?></textarea>(&nbsp;请填写 <?php echo (C("SiteUrl")); ?>/Weixin/valid )</td>
        </tr>
      </tbody>
      <tfoot>
        <tr class="tfoot">
          <td colspan="2" ><a href="JavaScript:void(0);" class="btn" onclick="document.form_index.submit()"><span>保存</span></a></td>
        </tr>
      </tfoot>
    </table>
  </form>
</div>
</body></html>